package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 咨询时长业务对象 p_ask_time
 *
 * @author ruoyi
 * @date 2022-07-28
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("咨询时长业务对象")
public class PAskTimeBo extends BaseEntity {

    /**
     *
     */
    @ApiModelProperty(value = "", required = true)
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 咨询时长
     */
    @ApiModelProperty(value = "咨询时长", required = true)
    @NotBlank(message = "咨询时长不能为空", groups = { AddGroup.class, EditGroup.class })
    private String title;

    /**
     * 咨询福利
     */
    @ApiModelProperty(value = "咨询福利", required = true)
    @NotBlank(message = "咨询福利不能为空", groups = { AddGroup.class, EditGroup.class })
    private String serviceTag;

    @ApiModelProperty("咨询师id")
    private Long userId;
}
